package com.xjrsoft.module.customerTwo.AppManage.service_support_order.service;

import com.xjrsoft.module.customerTwo.AppManage.service_support_order.dto.ServiceSupportOrderTableListDto;
import com.xjrsoft.module.customerTwo.AppManage.service_support_order.entity.ServiceSupportOrder;
import com.xjrsoft.module.customerTwo.AppManage.service_support_order.entity.ServiceSupportOrderTable;
import com.xjrsoft.module.customerTwo.AppManage.service_support_order.dto.ServiceSupportOrderListDto;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xjrsoft.common.page.PageOutput;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 *  服务类
 *
 * @author lisen
 * @since 2024-04-23
 */
public interface IServiceSupportOrderService extends IService<ServiceSupportOrder> {
	/**
	 * 自定义分页
	 *
	 * @param pageListDto
	 * @return
	 */
	IPage<ServiceSupportOrder> getPageList(ServiceSupportOrderListDto pageListDto);
	IPage<ServiceSupportOrderTable> getPageList(ServiceSupportOrderTableListDto pageListDto);

	List<ServiceSupportOrderTable> getServiceSupportOrderTableByParentId(String parentId);

	String addServiceSupportOrder(ServiceSupportOrder serviceSupportOrder);
	String addServiceSupportOrderTable(ServiceSupportOrderTable serviceSupportOrderTable);

	boolean updateServiceSupportOrder(String id, ServiceSupportOrder serviceSupportOrder, List<ServiceSupportOrderTable> serviceSupportOrderTableList);

	boolean updateServiceSupportOrderTable(String id, ServiceSupportOrderTable serviceSupportOrderTable);

	boolean delete(String ids);
	boolean deleteTable(String ids);

	boolean confirm(Integer id,boolean bl);

	ServiceSupportOrderTable getTableById(Integer id);
}
